package bean;

public class TomBean {
	private static TomBean tb ;
	public static TomBean getInstance(){
		System.out.println("TomBean......");
		if(tb==null){
			tb = new TomBean() ;
		}
		return tb ;
	}
	private TomBean(){
		System.out.println("tb......");
	}
}
